<!DOCTYPE html>
<html>
<head>
<include file="Include:meta" />
<title>项目人员情况-目的地运营集团数据管理平台</title>
<include file="Include:style" />
<style type="text/css">
.checkbox-item label{margin:0 10px 0 0!important;}
</style>
</head>
<body>
<include file="Include:header" />
<include file="Include:left" />
<div id="main">
	<div class="crumbs">
		<div class="crumbs-text">项目人员管理 > 项目人员情况</div>
	</div>
	<div id="content">
	<form action="__APP__/System/user_list_add" method="post" name="number_validate" id="password_validate" novalidate="novalidate">
			<input type="hidden" name="action" value="add">
			<input type="hidden" name="pid" value="{$project['id']}">
			<input type="hidden" name="id" value="{$project_bg['id']}">
			<div class="form-main">
				<div class="form-title">项目信息</div>
				<div class="form-item clearfix">
					<div class="item-float">
						<div class="input-label">项目编号</div>
						<div class="input-item">{$project['project_num']}</div>
					</div>
					<div class="item-float">
						<div class="input-label">项目名称</div>
						<div class="input-item">{$project['project_name']}</div>
					</div>
				</div>
				<div class="form-item clearfix">
					<div class="item-float">
						<div class="input-label">项目负责人</div>
						<div class="input-item">{$project['manager_name']}</div>
					</div>
					<div class="item-float">
						<div class="input-label">项目群负责人</div>
						<div class="input-item">{$project['director_name']}</div>
					</div>
				</div>
				<div class="form-item clearfix">
					<div class="item-float">
						<div class="input-label">启动日期</div>
						<div class="input-item">{$project['start_date']}</div>
					</div>
					<div class="item-float">
						<div class="input-label">状态</div>
						<div class="input-item">
						<if condition="$project['status'] neq 1">
						{$project['status_name']} ({$project['end_user']}<if condition="$project['stop_date'] neq NULL">:{$project['stop_date']}</if>,原因:{$project['end_remark']})
						<else />
						<span class="red">{$project['status_name']}</span>
					</if>
						</div>
					</div>
				</div>
				<div class="form-title">人员工作情况</div>
				<div class="form-table-item">
					<table class="table">
						<tr class="form-table-header">
							<td width="27%">用户名</td>
							<td width="12%">职位</td>
							<td width="8%">项目职务</td>
							<td width="8%">职级</td>
							<td width="12%">性质</td>
							<td width="12%">派驻日期</td>
							<td width="10%">派出日期</td>
							<td width="14%">操作人(日期)</td>
						</tr>
						<foreach name="result" item="vo">
							<tr class='gz_tr'>
								<td><a href="__APP__/Hr/project_user_detail_u/uid/{$vo['uid']}" target="_blank">{$vo['username']}<if condition="$vo['u_status'] eq -1">(离职)</if></a></td>
								<td>{$vo['position']}</td>
								<td><if condition="$vo['post'] eq null">{$vo['position']}<else />{$vo['post']}</if></td>
								<td>{$vo['rank']}</td>
								<td>{$vo['nature']}</td>
								<td>{$vo['come_date']}</td>
								<td>{$vo['out_date']}</td>
								<td>{$vo['add_user']}({$vo['add_date']|substr=0,10})</td>
							</tr>
						</foreach>
					</table>
				</div>
			</div>
		</form>
	</div>
</div>
<include file="Include:javascript" />
</body>
</html>